#include <iostream>
using namespace std;
//const int TURE = 1;
//const int FALSE = 0;
class area
{
private:
	double l;
	double h;

public:
	area(double l1 = 0, double h1 = 0);
	bool operator>(area &temp);
	bool operator<(area &temp);
	bool operator==(area &temp);
	void display();
};

void area::display()
{
	cout << l << " " << h << endl;
}

area::area(double l1, double h1)
{
	l = l1;
	h = h1;
}
bool area::operator>(area &temp)
{
	if ((l * h) > (temp.l * temp.h))
	{
		return true;
	}
	else
		return false;
}
bool area::operator<(area &temp)
{
	if ((l * h) < (temp.l * temp.h))
	{
		return true;
	}
	else
		return false;
}
bool area::operator==(area &temp)
{
	if ((l * h) == (temp.l * temp.h))
	{
		return true;
	}
	else
		return false;
}

int main()
{
	area a(1, 1), b(2, 2), c(2, 2);
	cout << "a<b" << (a < b) << endl;
	cout << "a>b" << (a > b) << endl;
	cout << "c==b" << (c == b) << endl;
	cout << "a==b" << (a == b) << endl;
	return 0;
}
